package com.duola.security.distributed.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

/**
 * @author shkstart
 * @create 2022-01-01 23:42
 */
@SpringBootApplication //springboot启动注解
@EnableDiscoveryClient //服务发现的客户端
//@EnableFeignClients(basePackages = {"com.duola.security.distributed.uaa"}) //远程调用
@EnableAuthorizationServer
public class UAAServer {
    public static void main(String[] args) {
        SpringApplication.run(UAAServer.class, args);
    }
}